from Products.KnowledgeEngine.KERL.Engine import Engine

test1 = ["assessment", "createdbefore", "2007-01-01"]

print Engine.compile( test1 )


